package com.gzk.hrm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

@SpringBootApplication
@EnableCaching
@EnableFeignClients(basePackages = {"com.gzk.hrm.feign"})
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class CourseStarter {

    public static void main(String[] args) {
        SpringApplication.run(CourseStarter.class);
    }
}
